package com.itheima.pojo;

import java.io.Serializable;
import java.util.List;

/**
 * 健康干预类
 */
public class Intervention implements Serializable {
    private int id;                                 //主键
    private String doctorAdvice;                    //健康师建议
    private Integer orderId;                        //订单id
    private List<Integer> knowledgeSportIds;
    private List<Integer> knowledgeFoodIds;
    private List<KnowledgeFood> knowledgeFoods;
    private List<KnowledgeSport> knowledgeSports;

    public Intervention() {
    }

    public Intervention(int id, String doctorAdvice, Integer orderId, List<Integer> knowledgeSportIds, List<Integer> knowledgeFoodIds, List<KnowledgeFood> knowledgeFoods, List<KnowledgeSport> knowledgeSports) {
        this.id = id;
        this.doctorAdvice = doctorAdvice;
        this.orderId = orderId;
        this.knowledgeSportIds = knowledgeSportIds;
        this.knowledgeFoodIds = knowledgeFoodIds;
        this.knowledgeFoods = knowledgeFoods;
        this.knowledgeSports = knowledgeSports;
    }

    public List<KnowledgeFood> getKnowledgeFoods() {
        return knowledgeFoods;
    }

    public void setKnowledgeFoods(List<KnowledgeFood> knowledgeFoods) {
        this.knowledgeFoods = knowledgeFoods;
    }

    public List<KnowledgeSport> getKnowledgeSports() {
        return knowledgeSports;
    }

    public void setKnowledgeSports(List<KnowledgeSport> knowledgeSports) {
        this.knowledgeSports = knowledgeSports;
    }

    public List<Integer> getKnowledgeSportIds() {
        return knowledgeSportIds;
    }

    public void setKnowledgeSportIds(List<Integer> knowledgeSportIds) {
        this.knowledgeSportIds = knowledgeSportIds;
    }

    public List<Integer> getKnowledgeFoodIds() {
        return knowledgeFoodIds;
    }

    public void setKnowledgeFoodIds(List<Integer> knowledgeFoodIds) {
        this.knowledgeFoodIds = knowledgeFoodIds;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDoctorAdvice() {
        return doctorAdvice;
    }

    public void setDoctorAdvice(String doctorAdvice) {
        this.doctorAdvice = doctorAdvice;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
}
